package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ljj
 * @create 2022-11-16-15:07
 */

public interface DishService extends IService<Dish> {
    public void saveWithFloavor(DishDto dishDto);
    public List<DishDto> getDishInfo( String name);
    public DishDto getByIdWithFlavor(Long id);

    void updateWithFlavor(DishDto dishDto);

    List<DishDto> getDishDtoInfoByDish(Dish dish);
}
